﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using blackhouse.JavaScript.JQuery;
using blackhouse.JavaScript;

namespace blackhouse.Aparts.Web.Modules {
	public partial class ExtendScripts : System.Web.UI.UserControl {

		protected override void OnInit(EventArgs e) {
			new MultilanguageJsResource("/App_GlobalResources/ApartsJs.resx");

			base.OnInit(e);
		}

		protected override void OnLoad(EventArgs e) {
			base.OnLoad(e);

			MultilanguageJsResource lsr = new MultilanguageJsResource("/App_GlobalResources/ApartsJs.resx");
			
			JQueryLibraries jql = new JQueryLibraries();
			jql.IncludeJSExtensions();
            jql.IncludeJQueryCookie();
			jql.IncludeFileBasedOnJQuery("blackhouse.Aparts.Web.Scripts.extendScripts.js,blackhouse.Aparts.Web");
		}

	}
}